package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 游玩攻略
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2030-02-11 16:46:55
 */
@TableName("youwangonglve")
public class YouwangonglveEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public YouwangonglveEntity() {
		
	}
	
	public YouwangonglveEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 攻略名称
	 */
					
	private String gonglvemingcheng;
	
	/**
	 * 景点封面
	 */
					
	private String jingdianfengmian;
	
	/**
	 * 景点地址
	 */
					
	private String jingdiandizhi;
	
	/**
	 * 交通方式
	 */
					
	private String jiaotongfangshi;
	
	/**
	 * 费用预算
	 */
					
	private String feiyongyusuan;
	
	/**
	 * 游玩天数
	 */
					
	private Integer youwantianshu;
	
	/**
	 * 附近美食
	 */
					
	private String fujinmeishi;
	
	/**
	 * 附近酒店
	 */
					
	private String fujinjiudian;
	
	/**
	 * 攻略详情
	 */
					
	private String gonglvexiangqing;
	
	/**
	 * 发布日期
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
	@DateTimeFormat 		
	private Date faburiqi;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：攻略名称
	 */
	public void setGonglvemingcheng(String gonglvemingcheng) {
		this.gonglvemingcheng = gonglvemingcheng;
	}
	/**
	 * 获取：攻略名称
	 */
	public String getGonglvemingcheng() {
		return gonglvemingcheng;
	}
	/**
	 * 设置：景点封面
	 */
	public void setJingdianfengmian(String jingdianfengmian) {
		this.jingdianfengmian = jingdianfengmian;
	}
	/**
	 * 获取：景点封面
	 */
	public String getJingdianfengmian() {
		return jingdianfengmian;
	}
	/**
	 * 设置：景点地址
	 */
	public void setJingdiandizhi(String jingdiandizhi) {
		this.jingdiandizhi = jingdiandizhi;
	}
	/**
	 * 获取：景点地址
	 */
	public String getJingdiandizhi() {
		return jingdiandizhi;
	}
	/**
	 * 设置：交通方式
	 */
	public void setJiaotongfangshi(String jiaotongfangshi) {
		this.jiaotongfangshi = jiaotongfangshi;
	}
	/**
	 * 获取：交通方式
	 */
	public String getJiaotongfangshi() {
		return jiaotongfangshi;
	}
	/**
	 * 设置：费用预算
	 */
	public void setFeiyongyusuan(String feiyongyusuan) {
		this.feiyongyusuan = feiyongyusuan;
	}
	/**
	 * 获取：费用预算
	 */
	public String getFeiyongyusuan() {
		return feiyongyusuan;
	}
	/**
	 * 设置：游玩天数
	 */
	public void setYouwantianshu(Integer youwantianshu) {
		this.youwantianshu = youwantianshu;
	}
	/**
	 * 获取：游玩天数
	 */
	public Integer getYouwantianshu() {
		return youwantianshu;
	}
	/**
	 * 设置：附近美食
	 */
	public void setFujinmeishi(String fujinmeishi) {
		this.fujinmeishi = fujinmeishi;
	}
	/**
	 * 获取：附近美食
	 */
	public String getFujinmeishi() {
		return fujinmeishi;
	}
	/**
	 * 设置：附近酒店
	 */
	public void setFujinjiudian(String fujinjiudian) {
		this.fujinjiudian = fujinjiudian;
	}
	/**
	 * 获取：附近酒店
	 */
	public String getFujinjiudian() {
		return fujinjiudian;
	}
	/**
	 * 设置：攻略详情
	 */
	public void setGonglvexiangqing(String gonglvexiangqing) {
		this.gonglvexiangqing = gonglvexiangqing;
	}
	/**
	 * 获取：攻略详情
	 */
	public String getGonglvexiangqing() {
		return gonglvexiangqing;
	}
	/**
	 * 设置：发布日期
	 */
	public void setFaburiqi(Date faburiqi) {
		this.faburiqi = faburiqi;
	}
	/**
	 * 获取：发布日期
	 */
	public Date getFaburiqi() {
		return faburiqi;
	}

}
